翻訳と辞書
Words near each other
・ Fragum
・ Fragum erugatum
・ Fragum fragum
・ Fragum unedo
・ Fraham
・ Frahang-i Oim-evak
・ Frahang-i Pahlavig
・ Frahelž
・ Fraher Field
・ Frahier-et-Chatebier
・ Frahm
・ Fraiburgo
・ Fraidy Cat
・ Fragile Allegiance
・ Fragile base class
Fragile binary interface problem
・ Fragile Bird
・ Fragile Equality
・ Fragile Eternity
・ Fragile Families and Child Wellbeing Study
・ Fragile Figures
・ Fragile Future
・ Fragile Heart
・ Fragile Machine
・ Fragile matter
・ Fragile mental retardation 2
・ Fragile Records
・ Fragile state
・ Fragile States Index
・ Fragile Tension / Hole to Feed


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Fragile binary interface problem : ウィキペディア英語版
Fragile binary interface problem

The fragile binary interface problem or FBI is a shortcoming of certain object-oriented programming language compilers, in which internal changes to an underlying class library can cause descendant libraries or programs to cease working. It is an example of software brittleness.
Note that this problem is more often called the fragile base class problem or FBC; however, that term also has a different (but related) sense. (''See'' fragile base class.)
==Cause==
The problem occurs due to a "shortcut" used with compilers for many common object-oriented (OO) languages, a design feature that was kept when OO languages were evolving from earlier non-OO structured programming languages such as C and Pascal.
In these languages there were no objects in the modern sense, but there was a similar construct known as a record (or "struct" in C) that held a variety of related information in one piece of memory. The parts within a particular record were accessed by keeping track of the starting location of the record, and knowing the offset from that starting point to the part in question. For instance a "person" record might have a first name, last name and middle initial, to access the initial the programmer writes thisPerson.middleInitial which the compiler turns into something like a = location(thisPerson) + offset(middleInitial). Modern CPUs typically include instructions for this common sort of access.
When object-oriented language compilers were first being developed, much of the existing compiler technology was used, and objects were built on top of the record concept. In these languages the objects were referred to by their starting point, and their public data, known as "fields", were accessed through the known offset. In effect the only change was to add another field to the record, one that lists the various methods (functions), such that the record knows about both its data and functions. When compiled, the offsets are used to access both the data and the code.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Fragile binary interface problem」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.